wordpress embed shortcode in php

41

do_shortcode -

echo do_shortcode('[name_of_shortcode]');

wordpress embed shortcode in php -

<?php echo do_shortcode('[name_of_shortcode]'); ?>

how to use plugin shortcode in wordpress template -

<?php echo do_shortcode("[insert-your-shortcode-here]"); ?>

Comments

Submit
0 Comments